import pandas as pd
# 注： xlrd==1.2.0

def readCsv():
    # 默认读取sheet1
    data1 = pd.read_csv("source-csv.csv")
    print(data1)

def saveCsv():
    data = pd.DataFrame(data = [
        ['s1 - 1 - 1',    's1 - 2 - 1'],
        ['s1 - 1 - 2',    's1 - 2 - 2'],
        ['s1 - 1 - 3',    's1 - 2 - 3'],
        ['s1 - 1 - 4',    's1 - 2 - 4'],
        ['s1 - 1 - 5',    's1 - 2 - 5']
    ], columns=["col1", "col2"])

    data.to_csv('source-csv-save.csv', index_label="Sheet1", index=False)

if __name__ == '__main__':
    # readCsv()
    saveCsv()